package io.renren.service.repair;

import io.renren.common.service.CrudService;

import io.renren.dto.repair.RepairInfoDTO;
import io.renren.entity.repair.RepairInfoEntity;
import io.renren.vo.RepairInfoReqVO;

import java.util.List;


/**
 * 报修信息表
 *
 * @author dio 167762802@QQ.com
 * @since 1.0.0 2025-04-12
 */
public interface RepairInfoService extends CrudService<RepairInfoEntity, RepairInfoDTO> {

    void saveInfo(RepairInfoReqVO repairInfoReqVO, Long userId);

    List<RepairInfoEntity> getListByUserId(Long userId);
    
    /**
     * 根据ID获取工单详情
     * @param id 工单ID
     * @return 工单详情实体
     */
    RepairInfoEntity getById(Long id);
}